package com.ffcs.crmd.tsp.server.job.info;

import io.netty.channel.Channel;

/**
 * 
 * 功能说明:子任务运行内核与通道组合
 *
 * @author ZHONGFUHUA
 * 
 * @since 
 *
 */
public class JobDetailShellChannelPairInfo {
    
    /**
     * 
     */
    private final Channel        channel;
    
    /**
     * 
     */
    private final JobDetailShell jobDetailShell;
    
    public JobDetailShellChannelPairInfo(Channel channel, JobDetailShell jobDetailShell) {
        super();
        this.channel = channel;
        this.jobDetailShell = jobDetailShell;
    }
    
    /**
     * 功能说明: 获取channel
     *
     * @return channel channel
     */
    public Channel getChannel() {
        return channel;
    }
    
    /**
     * 功能说明: 获取jobDetailShell
     *
     * @return jobDetailShell jobDetailShell
     */
    public JobDetailShell getJobDetailShell() {
        return jobDetailShell;
    }
    
}
